package com.atguigu.tingshu.vo.account;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Package: com.atguigu.tingshu.vo.account
 *
 * @author xiongkunYang
 * @description:
 * @since 2025/6/25 21:11
 */
@Data
@Schema(description = "检查及扣减账户余额对象")
public class AccountDeductVo {
    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "扣减金额")
    private BigDecimal amount;

    @Schema(description = "购买内容")
    private String content;

}